package org.chen.service;

import javax.mail.MessagingException;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.util.List;

public interface AlertService {
    void sendAlert(String title, String content);

    void sendUrgentAlert(String title, String content);

    void sendDailyReconciliationReport(Date date,
                                       int totalOrders,
                                       int mismatchCount,
                                       List<String> mismatchOrders);

    void sendHtmlEmail(String to, String subject, String htmlContent) throws MessagingException, UnsupportedEncodingException;

    void sendOrderRefundSuccessNotice(String toEmail, String orderId, String adminName);

    void sendOrderRefundFailureNotice(String email, String orderId, String realName);


}
